package com.example.mapper;

import com.example.domain.entity.Menu;
import com.example.domain.vo.IdNameVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author TXX
* @description 针对表【menu】的数据库操作Mapper
* @createDate 2023-02-07 13:50:20
* @Entity .domain.com.example.domain.entity.Menu
*/
@Repository
public interface MenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<IdNameVo> selectAuthorityPerm(Integer id);

    List<Menu> selectAllAuthorityPerm();
}
